package com.xxxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.pojo.Employee;
import com.xxxx.server.query.EmpQuery;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 * @since 2020-10-15
 */
public interface IEmployeeService extends IService<Employee> {





    //根据条件查询员工列表
    Map<String, Object> selectEmpByParams(EmpQuery empQuery);

    //添加员工信息
    Integer insertEmp(Employee employee);

    //修改员工信息
    Integer updateEmp(Employee employee);

    //删除员工信息
    Integer deleteEmp(Integer id);

    //获取工号
    Map<String, Object> selectEmpMaxWorkId();
}
